const mongoose = require("mongoose")

const schema = new mongoose.Schema({
    name:{type: String},
    username:{type: String},
    start_position:{ type: String},
    end_position:{ type: String},
    start_date:{type: Date},
    end_date:{type: Date},
    left:{type: Number},
    start_date_simple:{type: String},
    money:{
        type: Number,
    }

})

module.exports = mongoose.model('Buy',schema)